package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 在线提货对象 online_pickup
 * 
 * @author ruoyi
 * @date 2024-02-20
 */
public class OnlinePickup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNo;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 提货人 */
    @Excel(name = "提货人")
    private String consignee;

    /** 提货人电话 */
    @Excel(name = "提货人电话")
    private String tel;

    /** 收货地省份 */
    @Excel(name = "收货地省份")
    private String provinces;

    /** 收货地城市 */
    @Excel(name = "收货地城市")
    private String cities;

    /** 收货地区县 */
    @Excel(name = "收货地区县")
    private String counties;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 发货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String trackingNumber;

    /** 快递公司 */
    @Excel(name = "快递公司")
    private String expressCompany;

    /** 商品名称 */
    private String goodsName;

    /* 提货门店id*/
    private Long pickupStore;

    /* 门店名称*/
    private String storeName;

    /*商品数量*/
    private Integer goodsNum;

    public void setGoodsNum(Integer goodsNum){this.goodsNum = goodsNum;}

    public Integer getGoodsNum(){return goodsNum;}

    public void setStoreName(String storeName){this.storeName = storeName;}

    public String getStoreName(){return storeName;}

    public void setPickupStore(Long pickupStore){this.pickupStore = pickupStore;}

    public Long getPickupStore(){return pickupStore;}

    public void setGoodsName(String goodsName){this.goodsName = goodsName;}

    public String getGoodsName(){return goodsName;}

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setConsignee(String consignee) 
    {
        this.consignee = consignee;
    }

    public String getConsignee() 
    {
        return consignee;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setProvinces(String provinces) 
    {
        this.provinces = provinces;
    }

    public String getProvinces() 
    {
        return provinces;
    }
    public void setCities(String cities) 
    {
        this.cities = cities;
    }

    public String getCities() 
    {
        return cities;
    }
    public void setCounties(String counties) 
    {
        this.counties = counties;
    }

    public String getCounties() 
    {
        return counties;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setSendTime(Date sendTime) 
    {
        this.sendTime = sendTime;
    }

    public Date getSendTime() 
    {
        return sendTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setTrackingNumber(String trackingNumber) 
    {
        this.trackingNumber = trackingNumber;
    }

    public String getTrackingNumber() 
    {
        return trackingNumber;
    }
    public void setExpressCompany(String expressCompany) 
    {
        this.expressCompany = expressCompany;
    }

    public String getExpressCompany() 
    {
        return expressCompany;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardNo", getCardNo())
            .append("goodsId", getGoodsId())
            .append("consignee", getConsignee())
            .append("tel", getTel())
            .append("provinces", getProvinces())
            .append("cities", getCities())
            .append("counties", getCounties())
            .append("address", getAddress())
            .append("sendTime", getSendTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("trackingNumber", getTrackingNumber())
            .append("expressCompany", getExpressCompany())
            .toString();
    }
}
